
<table class="tablesorter">
<caption><?=$this->msg('¿Acceso a esta página?')?></caption>
<tr class="h1_head ui-widget-header">
    <th><?php echo $this->translate('Roles');?></th>
    <th><?php echo $this->translate('Usuarios');?></th>
</tr>

<?foreach((array)$this->accesos as $k => $accion):?>
<tr><td colspan="2" class="ui-widget-header" align="center"><?=$k?></td></tr>
<tr>
    <td>
    <?
    foreach((array)$accion['group'] as $v){
        print $v.'<br>';
    }?>
    </td>
     <td>
    <?
    foreach((array)$accion['user'] as $v){
        print $v.'<br>';
    }?>
    </td>  
</tr>
<?endforeach?>

</table>
